package com.xhd.db;
import com.xhd.base.util.*;
import com.xhd.exception.DatabaseException;

public abstract interface DBCenter extends BizQuery, BizObjDao
{
	public abstract int getDBType();

	  public abstract DBConfig getDBConfig();

	  public abstract String getVaultId();

	  public abstract void setTransation(boolean paramBoolean);

	  public abstract void commit()
	    throws DatabaseException;

	  public abstract void commitContinue()
	    throws DatabaseException;

	  public abstract void rollback();

	  public abstract void freeConnection();

	  public abstract int kill();

	  public abstract int getDBConnCount();

	  public abstract String getUseInfo(boolean paramBoolean);

	  public abstract int execute(String paramString)
	    throws DatabaseException;

	  public abstract int execute(DBSQL paramDBSQL)
	    throws DatabaseException;

	  public abstract int update(String paramString)
	    throws DatabaseException;

	  public abstract int delete(String paramString)
	    throws DatabaseException;

	  public abstract int IDGenerator(String paramString1, String paramString2)
	    throws DatabaseException;

	  public abstract int IDGenerator(String paramString1, String paramString2, String paramString3)
	    throws DatabaseException;

	  public abstract int deleteSubObj(xBaseObj paramxBaseObj, String paramString)
	    throws DatabaseException;

	  public abstract int updateObj(xBaseObj paramxBaseObj)
	    throws DatabaseException;

	  public abstract int updateObj(xBaseObj paramxBaseObj, String paramString)
	    throws DatabaseException;

	  public abstract int update(xBaseObj paramxBaseObj, Object paramObject, String paramString)
	    throws DatabaseException;

	  public abstract int IDGenerator(xBaseObj paramxBaseObj, String paramString, boolean paramBoolean)
	    throws DatabaseException;
}
